package com.msblearn.JVM.C04_DataArea;

import java.security.PublicKey;

/**
 * 使用Jclasslib去查看指令去分析运行过程。为啥 i = i++还是8.
 */
public class TestPlus {
    public static void main(String[] args) {
        int i = 8;
        i = i++;   //8
//        i = ++i;     //9
        System.out.println(i);

        TestPlus plus = new TestPlus();
        plus.m();
    }

    private void m() {
        int i = 0;
    }

    public void add(int a, int b) {
        int c = a + b;

    }
}
